<?php


 
// username and password sent from form 
$id=$_POST['id']; 
if(!isset($_POST['id'])){
header("location:../index.php?page=manage_users&stat=error&error=missing");
}
$sql="DELETE FROM `backoffice`.`user` WHERE `user`.`id` = '$id'";
mysql_query($sql);
header("location:../index.php?page=manage_users&stat=deleted");

?>